#include "ofxVideoGrabberSettings.h"
#include "ofxVideoGrabberSDK.h"
#include "ofxVideoGrabberFeature.h"

ofxVideoGrabberSettings::ofxVideoGrabberSettings()
{

}

ofxVideoGrabberSettings::~ofxVideoGrabberSettings()
{
    //dtor
}

//--------------------------------------------------------------------
void ofxVideoGrabberSettings::setupVideoSettings(ofxVideoGrabberSDK* _videoGrabber)
{
    videoGrabber = _videoGrabber;
    setupGUIEvents();
    setupGUI();

}

//--------------------------------------------------------------------
void ofxVideoGrabberSettings::setupGUIEvents()
{
   // ofAddListener(ofEvents.mousePressed, this, &ofxVideoGrabberSettings::mousePressed);
   // ofAddListener(ofEvents.mouseDragged, this, &ofxVideoGrabberSettings::mouseDragged);
 //   ofAddListener(ofEvents.mouseReleased, this, &ofxVideoGrabberSettings::mouseReleased);
}

//--------------------------------------------------------------------
void ofxVideoGrabberSettings::toggleSettingsGUI()
{
   // if(panel.hidden)
  //      panel.show();
  //  else
  //      panel.hide();
}
/*
//--------------------------------------------------------------------
void ofxVideoGrabberSettings::mousePressed(ofMouseEventArgs & args)
{
    panel.mousePressed(args.x,args.y,args.button);
}

//--------------------------------------------------------------------
void ofxVideoGrabberSettings::mouseDragged(ofMouseEventArgs & args)
{
    panel.mouseDragged(args.x,args.y,args.button);
}

//--------------------------------------------------------------------
void ofxVideoGrabberSettings::mouseReleased(ofMouseEventArgs & args)
{
    panel.mouseReleased();
}
*/
